package com.coocaa.ops.plus.core.base.enums;

/**
 * @author bijiahao
 * @date : 2018/1/19.
 * @description
 *    扩展模块 角色枚举类
 *
 */
public enum MyRoleEnums {

    /**
     * 角色枚举
     */
    ROLE_ADMIN(1, "管理员"),
    ROLE_USER(0, "普通用户");
    private int code;
    private String desc;

    MyRoleEnums(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }


    public String getDesc() {
        return desc;
    }
}
